ubg_health_create_bar_round
Syntax:
ubg_health_create_bar_round(layer, sprite, x, y, health_min, health_max, angle_start, angle_delta, chunked, event)
Arguments:
Argument Name | Type | Description |
---|---|---|
layer | layer_id | id or name of the layer to create the healthbar on |
sprite | sprite | id of the sprite to use as the health icon |
x | real | x-position to create the healthbar at |
y | real | y-position to create the healthbar at |
health_min | real | minimum value that the health can be |
health_max | real | maximum value that the health can be |
angle_start | real | angle that the healthbar should begin filling up (in degrees) |
angle_delta | real | how many degrees between 'empty' and 'full'. Negative values can be specified |
chunked | bool | whether or not to use the 'chunked' effect (requires extra subimage!) |
event | UBG_HEALTH_RENDER_EVENT | enum value from UBG_HEALTH_RENDER_EVENT specifying to render in draw or gui |
Returns: (real)
Description:
Loading page...